package com.niit.serviceuser.service;

import com.niit.serviceuser.service.impl.OrderFeignClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

// fallback = OrderFeignClientFallback.class
@FeignClient(value="service-order",fallback = OrderFeignClientFallback.class)
public interface OrderFeignClient {

    @RequestMapping("/orders/port")
    String getPort();
}
